The yearly expenses associated with operating Google Photos encompass several elements. Firstly, the infrastructure expenses are considerable, as Google Photos must accommodate petabytes of data, which includes high-resolution images and videos. This requires investment in servers, data centers, cloud storage, and high-speed networks. Secondly, there are operational expenses, which cover employee salaries for a range of positions such as engineers, product managers, designers, and customer support staff. Furthermore, ongoing maintenance costs are necessary to ensure the application functions efficiently and securely, which includes spending on system monitoring, redundancy, and disaster recovery. Lastly, Google is constantly working on innovating and enhancing Google Photos, so it's essential to factor in the costs associated with ongoing research, development, and the rollout of new features. While providing an exact figure is challenging without internal data, these are the primary categories of expenses that should be taken into account.