A red herring is an irrelevant idea used to divert an argument away from its resolution. It is a logical fallacy.