A patent is government-granted right to exclude others from making, using, selling, or importing your invention.
This video provides a basic overview: https://youtu.be/cnQpnoe2AtU