SOLID Principles is the rules that avoid bad design and have a clear concept for developing software in a proper way.
With the bad software design, the code can become inflexible and small changes can result in bugs. For these reasons, developers should follow SOLID Principles.