Twitter is a social media platform that allows users to send and receive short messages, known as tweets. Users can follow other users to…