A curfew is like a rule that parents make for their children. It means that you have to be home by a certain time. For example, if your parents tell you that you have a curfew of 8 pm, it means that you have to come back home before that time or else you will get into trouble.
Similarly, in some cities or countries, the government makes a curfew for everyone. It is like a rule for the whole city instead of just for one person. The government may decide that people are not allowed to go out to the streets after a certain time, usually during the night. For example, if there is a curfew at 10 pm, it means that everyone must be inside their homes by that time and cannot go outside until the curfew is lifted the next day.
Curfews are made to help keep people safe. Sometimes, there might be danger outside during certain times, like a storm or a riot, and the government wants to keep people inside to protect them. Curfews can also be used to prevent crime, like people going out at night to do bad things. In this way, curfews are like a way for the government to keep everyone safe and happy.