This document describes the Butterfly Optimization Algorithm (BOA), a nature-inspired metaheuristic algorithm. The BOA mimics the foraging behavior of butterflies, which use scent to locate food sources. It outlines the biological behaviors of butterflies that influenced the algorithm's design, such as using scent magnitude to guide movement towards better solutions. The BOA performs global and local search to explore the solution space. It evaluates candidate solutions based on their scent intensity, representing the objective function value. The algorithm is initialized with parameters and iterates until stopping criteria are met, balancing exploration and exploitation to find high-quality solutions.