So I saw the genres of Gintama and I found this:
It's a shogun-era (Edo-period) animé and they use katanas instead of huge weapons; there are also some mobile-phones, etc. But what’s so 'Sci-Fi' about it, except for the fact that there is inter-space travelling, which is obvious given the plot of aliens invading? I don't know why it is categorised as a 'Sci-Fi' animé.