Nature-inspired algorithm is types of computing systems use a variety of phenomena in nature to create a coherent mechanism. Designing different systems and creating learning machines as well as optimization are some of the factors that have chosen nature. These systems come from nature and have designed interesting mechanisms. The nature of the search problem is very important in nature and the species of animals and even the natural structures each have a kind of search system inherently. In this book, optimization and optimization algorithms are examined, and solutions are proposed to create a nature-inspired optimization algorithm, and even suggestions are made for natural phenomena that can be transformed into algorithms. The sciences, industry, medicine, and other fields can find algorithms that fit their field by reading this book. Collective intelligence is one of the main phenomena found in nature, and this book also emphasized this. This book first describes optimization, then defines the optimization problem and describes its mechanism. Then nature-inspired optimization algorithms were evaluated and a number of them were introduced. The source of nature was then discussed and explained why nature is a good source of ideas for building an algorithm. A number of authors' algorithms were studied to familiarize the reader with these types of algorithms and then ideas of nature were proposed to the reader. Finally, how to convert an idea into an algorithm is discussed.