Why won’t your legs stay still?

Over the past few nights, you notice that when you’re trying to sleep, it feels like your legs just want to move. If you do reposition them, they feel better for a little bit, but a short time later, you have the same feeling. Why is this happening? Is there anything…