Aerobic exercises can become anaerobic exercises if performed at a level of intensity that is too high. It's any activity that stimulates your heart rate and breathing to increase but not so much that you can't sustain the activity for more than a few minutes. Aerobic means "with oxygen," and anaerobic means "without oxygen." Anaerobic exercise is the type where you get out of breath in just a few moments, like when you lift weights for improving strength, when you sprint, or when you climb a long flight of stairs. Aerobic exercises can become anaerobic exercises if performed at a level of intensity that is too high.
https://www.medicinenet.com/aerobic_exercise/article.htm#what_is_aerobic_exercise
https://www.myfooddiary.com/resources/ask_the_expert/aerobic_vs_anaerobic.asp