Rational basis is a legal standard used by courts to determine the constitutionality of government actions or laws. It requires that the government's actions or laws have a legitimate purpose and be rationally related to achieving that purpose, even if the means used are not the best or most effective.