They are design level solutions for recurring problems that us software engineers come across often. It’s not code, I repeat, ❌CODE. It is like a description on how to tackle these problems and design a solution. Using these patterns is considered good practice, as the design of the solution is quite tried and tested, allowing higher readability of the final code. Design patterns are quite often for and used by OOP Languages, like Java, which most of the examples from here on will be written.
This is a companion discussion topic for the original entry at https://www.freecodecamp.org/news/the-basic-design-patterns-all-developers-need-to-know/