Okay, that covers gender as far as I can tell. But how about sexual orientation?
Many companies ask the information optionally (https://www.thehrcfoundation.org/professional-resources/self...) in order to provide appropriate benefit plans, as LGBTQ individuals may have specific health concerns that non-LGBTQ people don't have.