The person is doing a breathing exercise called "nadi shodhan" or "alone viloma pranayama" where they breathe in through one nostril, close it, breathe out through the other nostril, close it, and then breathe in through the other nostril and out through the first nostril.