What is parseInt() in JavaScript?

What is parseInt() in JavaScript? How to add two numbers in JavaScript? How the + Operator works in JavaScript

<!DOCTYPE html>
<html>
    <head>
        <title> How to Add two number in javascript </title>
       <script>
            let n1 = prompt("Enter first number");
            let n2 = prompt("Enter second number");
            let n3 = parseInt(n1) + parseInt(n2); // string to number then addition
            console.log(n1, n2,  "The Additon is : ", n3);
       </script>
    </head>
    <body>
        <h1> What is parseInt() in javascript </h1>
    </body>
</html>