What is the main function of the bronchioles?

the bronchioles are a part of bronchus and hence has the same function- i.e. to transport air from the nostrils(buccal cavity) to the lungs and vice-versa...