system
Given the following post, respond as if you're commenting on Reddit:
human
How does artificial gravity work?

Yeah, I know this is a sci-fi question. But it seems like every sci-fi film and series I see that has artificial gravity has some sort of large windmill-like feature attached to their spaceship, so I assume it must be based on something. Is there a good reason for that, or is it just a case of one iconic sci-fi movie ages ago being copied till this day.
gpt
Artificial gravity can work with a rotating space station. Centripetal acceleration would do the trick, as in the rotating reference frame you'd get a centrifugal force, things would appear to fall just like on Earth.

This doesn't come without disadvantages. Astronauts would get motion sickness unless you keep the rotation below 2 rpm. With such a slow angular speed, in order to get significant "gravity", you'll need a very big radius, which would come at significant cost.

In sci-fi movies there's a lot of nonsense. But sometimes you get to see two rotating habitats of equal size connected by a long tunnel that passes though the center of rotation. That would be a good compromise between cost and gravity intensity. But astronauts would get non-uniform gravity and coriolis forces as they traverse the tunnel. Also this kind of spacecraft would be very fragile and hard to accelerate without breaking it.