In view of the problems of nanomaterials in the field of energy storage and pollution removal, energy storage composite nanomaterials were proposed in the study, including Fe3O4 Fe3O4@C (MFC), Fe3O4@PANI, Fe3O4@C @PANI core–shell nanomaterials. The experimental design includes the preparation of electrode in energy storage, characterization of electrode materials, electrode cyclic voltammetry test, electrode charge discharge test, and the preparation of catalyst, catalyst characterization, and factors affecting the removal effect in the soil pollutant removal experiment. The preparation process of catalyst for pollution removal was given, including nano ferric oxide and Pd loaded composite. The energy storage performance analysis shows that the four Fe3O4 nanocomposites all contain Fe3O4, and the corresponding diffraction peaks appear at six positions of 30.2°, 35.5°, 43.1°, 53.8°, 57.3° and 62.9° respectively. The electrochemical test results show that Fe3O4 Fe3O4@C (MFC), Fe3O4@PANI, Fe3O4@C @PANI has high electrochemical performance basis and high capacitance. The removal effect analysis shows that the optimal value of the reaction rate constant is 2.1635, the optimal current value is 40 mA, and the optimal pH value is 3.0. The experimental results verify that the composite nano materials with FeCl3.6H2O as the iron source can be used as better capacitor materials and have excellent application prospects. At the same time, the pollution removal results show that Pd-Fe3O4 has incomparable advantages compared with other materials, and has high reliability and effectiveness.