Observational astrophysics

An imaging astronomer places a red optical filter in front of a detector. What is the filter chiefly intended to do?