Google is to launch an operating system (OS) to compete with Microsoft.