Differance WindowsFeature and WindowsOptionalFeature

I got a list of features installed on a server, which i get by running

(Get-WindowsFeature | where installed).Name

But i can’t say what feature is optional or not. My question is can i treat optional Features as WindowsFeatures in the DSC config?

I think Nope, they are not same and there is another DSC resource to handle optional features - WindowsOptionalFeature