This paper provides a comprehensive introduction of the expansive domain of computational swarm intelligence and its various applications within the realm of swarm robotics. Computational swarm intelligence is a theoretical framework that seeks to understand and simulate the collective behavior of animals. Its primary application lies in the field of optimization techniques. The discipline of swarm robotics is a burgeoning area of study that is characterized by its rapid growth and draws inspiration from the concept of swarm intelligence. The utilization of problem-solving techniques observed in social insects, characterized by flexibility, robustness, decentralization, and self-organization, offers an alternative to traditional methodologies in the field of robotics. This study emphasizes the potential avenues for future investigation.