According to the Indian Patents Act, some inventions cannot be patented if they are considered frivolous or go against public order, morality, public health, or the environment.