Patterns are recognisable structures of code which solve particular problems in a defined way.
There are also Anti-Patterns, which are things you should avoid. Often, using software development patterns too much leads to overdoing them, which is an anti-pattern.
Anti-patterns lead to code smell, which is a way to say that something is not right with your code.