Classic ++ 0 Newbie Poster

Hello, i recently had to forward some ports on my router to my PC for a program i run.

I was just wondering what are the dangers of this? Does this leave me vulnerable to attack through that port or can it only be used by the program that needs it?

If someone could explain how it works that would be great.

Thank you for your time.