This document presents an algorithm for the autonomous navigation of unmanned aerial vehicles (UAVs) to follow moving targets, specifically ground vehicles. It discusses various methods of UAV operation, including vision-based and GPS tracking, while addressing both advantages and challenges such as operational risks and mechanical failures. The paper outlines applications of UAVs across diverse fields such as reconnaissance, search and rescue, and scientific research.