In the timeline, we can begin creating an animation. Each tick mark is a frame, every 24 frames is one second. The first frame is always a keyframe, this is the starting position for your objects. Moving the playhead to a new frame, we can create a new keyframe by pressing the diamond button or simply moving an object. Pressing the play button will play the animation and it will automatically loop after the last keyframe.
We have different options when it comes to choosing how the animation will play. Simply by clicking the bar between the keyframes you are given some options. Linear, Ease in, Ease out, Long rotation and others.