As I have read that commit means we have updated some code which has bugs and commited that code from where the issue is raised. But what is a pull request.
A pull request is a way to 'commit' to a repository in which you don't have writing permissions.
The maintainers of that repository will check your request and decide if they either want to merge it with your code or leave the original as it is.