C# and Javascript

Hey all,

just a quick question regarding the use of C# and JavaScript.

I have been advised to learn C# and JavaScript + HTML + Bootstrap by the company I work for to advance into a programming career with themselves, they have a website and are delving into automation (web chat bots etc).

My question is If I learn both what would C# be used for and what would JavaScript preferably be used for, I’m assuming that C# would be backend and JavaScript front end?

Would C# be used to connect to databases and process information etc.