macOS Big Sur has built-in tool to do this. Take example of the following screenshot:

[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/pSNCo.jpg