Alkyl groups are electron donating because they have a lower electronegativity than the atoms in the pi system (such as carbon or nitrogen). The alkyl group donates electron density to the pi system through its sigma bonds, thereby increasing the electron density in the pi system. This electron donation stabilizes the pi system and can affect its reactivity.