Correct. The 'await' keyword can only be used inside an 'async' function. The purpose of 'await' is to pause the execution of the 'async' function until a promise is resolved or rejected. It is a way to write asynchronous code that looks and behaves like synchronous code.