Crime is behavior that violates laws and is punished by the state or government. It can include a wide range of actions that harm people in some way, from the most serious felony offenses to misdemeanor violations such as littering or driving under the influence of alcohol. Most countries have a criminal code, which defines specific crimes and sets out rules for investigation and trial procedures. In addition to criminal law, most societies have civil justice systems that punish breaches of private law such as torts and breach of contract.
It is important to remember that crime is a complicated phenomenon and that the definition of what constitutes a crime changes over time, depending on social values, circumstances and culture. For example, it was not considered a crime in the past to use cocaine or to rape someone, but these activities have become more widely criminalized in recent years. Also, legislators have particular interests in what they choose to criminalize, so the list of offenses can change over time.
If you plan to write about crime it is essential to read widely in the genre and develop an understanding of the complex and varied issues involved. This is not only to sharpen your narrative instincts, but also so that you can understand the context of the story and how different factors may affect its portrayal.
When writing about crime it is also vital to have good access to victims and consider their views. It is critical that you gain their trust and deal with them respectfully, sensitively and carefully. They are often under great stress and your careless treatment could increase their distress.