Asteroids are rocky objects made up of the leftover remains from when the solar system was formed about 4.6 billion years ago, according to NASA. They're smaller than planets, but orbit the Sun like planets do. In more recent years, NASA has upped its efforts to protect Earth from coming into contact with asteroids.