In physics, an invariant is something that stays the same no matter what. For example, if you and your friend go for a walk around your neighborhood, the total amount of time the two of you walk together will stay the same - no matter if the walk takes you around the block or around the entire city. This total amount of time is an invariant.