You can check the version of Ubuntu desktop by going to Settings → About. The operating system version is listed under the OS Name section. For servers, access the command-line interface and run lsb_release -a.