Hi,
I would recommend reading this blogpost: https://towardsdatascience.com/intuitively-understanding-convolutions-for-deep-learning-1f6f42faee1 10 that explains this with very nice animations.
Let me know if you have any further question afterwards!