Wave‐particle interactions in the magnetosphere and ionosphere