We demonstrate how the ability to target astrocytes with cell-specific viral vectors to express optogenetic constructs helped to unravel some previously unsuspected roles of these inconspicuous cells.