Is it illegal to produce laundry detergent and detergent yourself?

As long as it is not copying other brands, it is not illegal and you can apply for a patent.

There are two main types:

(1) infringes upon the rights and interests of others protected by civil law;

(2) the behavior is illegal, that is, it violates the provisions of the civil law. Civil tort can be divided into two categories: breach of contract and tort. The former refers to the behavior that the parties to a contract fail to perform or not fully perform their contractual obligations for no reason, while the latter refers to the behavior that illegally infringes on the civil rights of others outside the contract.

Civil tort can be divided into action and omission in the form of expression. Illegal behavior refers to the behavior prohibited by law; Illegal omission refers to the act of not implementing the legal requirements.

Components:

There are more than 400 kinds of crimes in our criminal law. From the analysis of constituent elements, every crime has four elements: the subject of crime, the subjective aspect of crime, the objective aspect of crime and the object of crime.

(1) The subject of the crime. Refers to a person who commits a crime. Every crime must have a subject, some crimes are committed by one person, the subject is one person, some crimes are committed by several people, and the subject is several people. According to the criminal law, a company, enterprise, institution, organ or group commits a crime, which constitutes a unit crime. Therefore, the unit can also become the subject of crime.

(2) Subjective aspects of crime. It refers to the psychological state of the criminal subject's criminal behavior and its results. There are two kinds of subjective psychological state of crime, namely intention and negligence. For example, if you commit theft, the criminal wants to steal other people's property for himself; Commit the crime of intentional injury, and the offender hopes to cause physical injury to others.

Baidu encyclopedia-illegal behavior