What do the graphs of sine and cosine have in common with the swinging you see?

The high and low points repeat in a pattern.

The cycle repeats at equal time intervals.

The swinging motion is smooth, unabrupt.