For example:
Making new friends is important to your happiness.
Making new friends is important to your happiness.
and
To make new friends is importante to your happiness.
To make new friends is important to your happiness.
I know the second sentence sounds odd, but I'm not sure if it's grammatically wrong or just not used as much.
Thanks a lot.