Exercise that lasts a long time and uses oxygen to get energy is called aerobic exercise. This type of exercise includes activities like running, swimming, and cycling, which require a continuous supply of oxygen to the muscles. On the other hand, anaerobic exercise is characterized by short bursts of intense activity, such as weightlifting or sprinting, which do not rely on oxygen for energy.