World number one Iga Swiatek understands the focus on Serena Williams, who is set to retire after the US Open.