The lunar eclipse can help scientists learn how to spot “biosignatures” on distant planets.