If you have to ask, you really should not proceed without some very serious research. TrueNAS would run instead of, and not alongside or on top of Windows.
More importantly, the question reveals a meaningful lack of knowledge that is relevant and necessary, and simultaneously not at all exclusive to TrueNAS. I don't have any specific recommendations for what you should study, because it's been decades for me, but hopefully someone else will have suggestions.