How does time dilation work?

r/

How does time dilation work?