What is the purpose of thread relief?

Thread relief can allow for a bolt to sit flush on the mated part, and it also allows cutting tools clearance in producing the threads. To learn more about designing thread relief, click here.

https://user-images.githubusercontent.com/104646709/170291360-382ca4a0-1432-4f05-991a-d20839a90bd5.png