Hi there.
What you are looking at is the axle nut, holding the axle to your wheel hub. Its not connected to your rims, so you can go ahead and safely remove the rims if you can.
oh and make sure you do NOT attempt to loosen the big nut in the picture.