Chaining is used to connect multiple events and functions in a selector.